home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
listings
/
v_02_04
/
2n04014a
< prev
next >
Wrap
Text File
|
1991-02-09
|
879b
|
30 lines
/*
* VIDEO.H Copyright (C) 1990 by Mark R. Nelson
*
* This header file contains the structures, constants, and function
* prototypes necessary to use the display routines in VIDEO.C
*/
typedef unsigned char COORD;
typedef struct {
COORD first_row;
COORD height;
COORD first_col;
COORD width;
COORD cursor_row;
COORD cursor_col;
} WINDOW;
WINDOW *window_open( COORD row, COORD col, COORD width, COORD height );
void window_printf( WINDOW *window ,char *format,... );
void window_putc( WINDOW *window, char c );
void window_select( WINDOW *window );
void scroll( WINDOW *window );
void restore_screen( void );
void initialize_screen( void );
void set_cursor(COORD row, COORD col );
void get_cursor( COORD *row, COORD *col );
void draw_box( WINDOW *window );